<div id="container" class="clearfix">
    <div id="main">
        <div class="info-cell cell-l">
            <form th:action="@{/post/add}" method="post" th:object="${blog}" id="my_blog">
                <div class="form-group">
                    <label>文章标题</label>
                    <input type="text" name="title" th:field="*{title}" style="width: 745px" />
                </div>
                <div class="form-group" style="margin-top: 5px; margin-bottom: 5px;">
                    <label>文章类型</label>
                    <select th:field="*{type}" th:value="*{type}">
                        <option value="1">资讯</option>
                        <!-- 				<option value="0">评测</option> -->
                    </select>
                </div>
                <div class="form-group" style="margin-top: 5px; margin-bottom: 10px;">
                    <label>标签</label>
                    <select th:field="*{tags}" th:value="*{tags}">
                        <option th:each="tag:${navTags}" th:value="${tag.name}" th:text="${tag.name}"></option>
                    </select>
                </div>
                <div class="form-group">
                    <input id="content_temp" type="hidden" th:attr="value= *{content}" />
                    <script th:field="*{content}" name="content" id="editor" type="text/plain" style="width: 745px; height: 500px;"></script>
                </div>
                <div class="form-group">
                    <input name="id" th:field="*{id}" type="hidden" value="0" />
                </div>
                <div class="form-group">
                    <button type="submit" id="post_save">提交</button>
                </div>
            </form>
        </div>
        <div class="info-cell cell-r">
            <section class="info-aside" id="classify">
                <div class="classify-menu">
                    <a id="menu_post_save" style="cursor: pointer">提交</a>
                </div>
                <div class="classify-menu"><a th:href="@{/post/myblogs}">我的稿件</a></div>
            </section>
        </div>
    </div>
</div>
